﻿@model Guia3.Models.Vaga
@{
    ViewBag.Title = "Vaga (Cadastro)";
    Layout = "~/Views/Admin/_LayoutAdmin.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<table style="text-align: left; color: #FFFFFF; border: 0; width: 100%">
    <tr>
        <td style="background: #1DA8D7; height: 5px;" colspan="4">
            Clientes (Cadastro)
        </td>
    </tr>
</table>

@using (Html.BeginForm("Save", "Vaga", "POST"))
{ 
    @Html.ValidationSummary(true)
    <table width="100%">
        <tr>
            <td>
            </td>
            <td width="25%" align="right">
                <input class="chrome-button" type="submit" value="Gravar" />
                <input class="chrome-button" type="submit" value="Excluir" />
                <input class="chrome-button" type="submit" value="Limpar" />
            </td>
        </tr>
    </table>
   
    <fieldset>
        <!--@Html.HiddenFor(model => model.Id)-->
        <table style="text-align: left; color: #FFFFFF; border: 0; width: 100%">
            <tr>
                <td style="background: #1DA8D7; height: 5px;" colspan="4">
                    Dados do Cadastro
                </td>
            </tr>
        </table>
        <table width="90%" height="150px">
            <tr>
                <td align="right">
                    <div>
                        @Html.Label("Código:")
                        @Html.TextBoxFor(model => model.Id, new { @style = "width: 70px;" })
                        @Html.ValidationMessageFor(model => model.Id)
                    </div>
                </td>
                <td align="right">
                    <div>
                        @Html.Label("Empresa:")
                        @Html.TextBoxFor(model => model.Empresa, new { @style = "width: 250px;" })
                        @Html.ValidationMessageFor(model => model.Empresa)
                    </div>
                </td>
                <td align="right">
                    <div>
                        @Html.Label("Cidade:")
                        @Html.TextBoxFor(model => model.Cidade, new { @style = "width: 100px;" })
                        @Html.ValidationMessageFor(model => model.Cidade)
                    </div>
                </td>
                </tr>
            <tr>
                <td align="right">
                    <div>
                        @Html.Label("Cargo:")
                        @Html.TextBoxFor(model => model.Cargo, new { @style = "width: 130px;" })
                        @Html.ValidationMessageFor(model => model.Cargo)
                    </div>
                </td>
                <td align="right">
                    <div>
                        @Html.Label("Situação:")
                        @Html.CheckBox("Situação")
                        @Html.ValidationMessageFor(model => model.Situação)
                    </div>
                </td>
                <td align="right">
                    <div>
                        @Html.Label("Descrição:")
                        @Html.TextBoxFor(model => model.Descricao, new { @style = "width: 130px;" })
                        @Html.ValidationMessageFor(model => model.Descricao)
                    </div>
                </td>
            </tr>
        </table>
    </fieldset>
}
